import './assets/myselfStyle.css'//自定义样式

import './assets/main.css'//初始化样式
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
import router from './router'

import "element-plus/theme-chalk/display.css"; //element显示与隐藏函数
import zhCn from "element-plus/dist/locale/zh-cn.mjs";// element转中文


const app = createApp(App)
import * as ElementPlusIconsVue from "@element-plus/icons-vue"; //element-icon图标
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}
app.use(ElementPlus, {
  locale: zhCn,
});
app.use(createPinia())
app.use(router)

app.mount('#app')
